import { createRouter, createWebHistory } from 'vue-router'
// import QuestionnaireManage from '../views/qaManage/QAManage'

const routes = [
  {
    path: '/fill',
    component: () => import('@/fill/Fill.vue')
  },
  {
    path: '/fill/preSight',
    component: () => import('@/fill/PreSight.vue')
  },
  {
    path: '/fill/exam',
    component: () => import('@/fill/exam/Fill.vue')
  },
  {
    path: '/fill/preSight/exam',
    component: () => import('@/fill/exam/PreSight.vue')
  },
  {
    path: '/fill/exam/grade',
    component: () => import('@/fill/exam/GradeShow.vue')
  },
  {
      path: '/fill/preSight/card',
    name: 'PreSightCard',
    component: () => import('./card/PreSight')
  },
  //1234
  {
    path: '/fill/card',
    name: 'FillCard',
    component: () => import('./card/Fill')
  },
  {
    path: '/fill/sign',
    component: () => import ('./sign/Fill')
  },
  {
    path: '/fill/vote',
    component: () => import('./vote/Fill')
  },
  {
    path: '/fill/preSight/vote',
    component: () => import('./vote/PreSight')
  },
  {
    path: '/fill/vote/submit',
    component: () => import('./vote/Submit'),
  },
  {
    path: '/fill/preSight/sign',
    component: () => import ('./sign/PreSight')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router
